.head {
    // width: 100%;
    min-height: 100vh;
    background-color: #f2f2f2;
    overflow-x: hidden;
    padding-bottom: 40px; /* 为底部tabbar留出空间，避免遮挡内容 */
}

// 强制固定所有输入框样式
.ant-input, .ant-input-affix-wrapper {
    height: 30px !important;
    min-height: 30px !important;
    max-height: 30px !important;
    box-sizing: border-box !important;
    resize: none !important;
    line-height: 30px !important;
    display: flex !important;
    align-items: center !important;
}

// 固定输入框内部文字位置
.ant-input::placeholder {
    line-height: 30px !important;
    vertical-align: middle !important;
}

.ant-input-affix-wrapper .ant-input {
    line-height: 30px !important;
    vertical-align: middle !important;
}

.h-top {
    display: flex;
    width: 100vw;
    height: 40px;
    min-height: 40px;
    max-height: 40px;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    align-items: center;
    padding: 0 10px;
    box-sizing: border-box;
    flex-shrink: 0;
}

.h_left {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tb {
    width: 30px;
    height: 30px;
}

.h_middle{
    width: 280px;
    min-width: 280px;
    max-width: 280px;
    height: 30px;
    min-height: 30px;
    max-height: 30px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.ss{
    height: 30px;
    min-height: 30px;
    max-height: 30px;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    margin-left: 5px;
    border-radius: 15px;
    box-sizing: border-box;
    flex: 1;
    display: flex;
    align-items: center;
    
    // 确保内部文字垂直居中
    .ant-input-affix-wrapper {
        display: flex !important;
        align-items: center !important;
        height: 100% !important;
    }
    
    .ant-input {
        display: flex !important;
        align-items: center !important;
        height: 100% !important;
    }
}

.h_footer {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
}

.ld {
    width: 30px;
    height: 30px;
}

.lbt {
    width: 100%;
    height: 160px;
    overflow: hidden;
}

.zsbd {
    width: 100%;
    height: 20px;
    border-top: 1px solid #888;
    border-bottom: #888 solid 1px;
    border-left: 1px solid #888;
    border-right: #888 solid 1px;
    background-color: #fff;
}

.bzyp {
    width: 100%;
    height: 200px;
    margin-top: 3px;
    display: flex;
    background-color: #fff;
    box-sizing: border-box;
    overflow: hidden;
}

.bz_left {
    width: 50%;
    height: 200px;
    border-top: 1px solid #888;
    border-bottom: #888 solid 1px;
    border-left: 1px solid #888;
    border-right: #888 solid 1px;
    box-sizing: border-box;

    img {
        width: 100%;
        height: 170px;
    }
}

.yp_right {
    width: 50%;
    height: 200px;
    border-top: 1px solid #888;
    border-bottom: #888 solid 1px;
    border-left: 1px solid #888;
    border-right: #888 solid 1px;
    margin-left: 3px;
    box-sizing: border-box;

    img {
        width: 100%;
        height: 170px;
    }
}

.wzzx {
    width: 100%;
    height: 20px;
    border-top: 1px solid #888;
    border-bottom: #888 solid 1px;
    border-left: 1px solid #888;
    border-right: #888 solid 1px;
    background-color: #fff;
}

.zxlb {
    width: 100%;
    background-color: #fff;
    display: flex;
    flex-wrap: wrap;
    text-align: center;
}
.zxlb > div {
    width: 25%;
    box-sizing: border-box;
    padding: 10px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.zxlb img {
    width: 50px;
    height: 50px;
}
.jkpc{
    width: 100%;
    height: 20px;
    border-top: 1px solid #888;
    border-bottom: #888 solid 1px;
    border-left: 1px solid #888;
    border-right: #888 solid 1px;
    background-color: #fff;
}
.jkpctb{
    width: 100%;
    height: 200px;
    img{
        width: 100%;
        height: 200px;
        margin-top: 3px;
    }
}
.jkzx{
    width: 100%;
    height: 20px;
    border-top: 1px solid #888;
    border-bottom: #888 solid 1px;
    border-left: 1px solid #888;
    border-right: #888 solid 1px;
    background-color: #fff;
    margin-top:5px;
}

.jklb{
    background-color:#fff;
}
.jklb-item{
    display:flex;
    align-items:center;
    padding:12px;
    border-bottom:1px solid #eee;
}
.jklb-item:last-child{
    border-bottom:none;
}
.jklb-item .thumb{
    width:120px;
    height:90px;
    object-fit:cover;
    border-radius:4px;
    flex:0 0 120px;
}
.jklb-item .info{
    flex:1;
    margin-left:12px;
    display:flex;
    flex-direction:column;
    min-width:0;
}
.jklb-item .title{
    font-size:14px;
    line-height:1.5;
    color:#222;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
}
.jklb-item .meta{
    margin-top:6px;
    font-size:12px;
    color:#999;
}.lbt{
    margin-top: 30px;
}
.info{
    display: flex;
}
.title{
    width: 100%;
    margin-bottom: 10px;
}
.sjdl{
    display: flex;
}
.dl{
    display: flex;
}
.sj{
    display: flex;
    margin-left: 90px;
}
.synr{
    overflow: auto;
}
.jkpc-title{
    margin-left: 10px;
}
.jkzx-title{
    margin-left: 10px;
}
.wzzx-title{
    margin-left: 10px;
}
.bzyp-title{
    margin-left: 10px;
}
.yp_right-title{
    margin-left: 10px;
}
.zsbd-title{
    margin-left: 10px;
}

.mzkghj{
    width: 100%;
    height: 80px;
    background-color: #fff;
    margin-top: 5px;
    display: flex;
    padding: 10px;
    box-sizing: border-box;
    gap: 10px;
}

.mzkghj-left{
    flex: 1;
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    border-radius: 8px;
    padding: 15px;
    display: flex;
    align-items: center;
    color: white;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.mzkghj-left:hover{
    transform: translateY(-2px);
}

.mzkghj-left-icon{
    width: 40px;
    height: 40px;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.mzkghj-left-content{
    flex: 1;
}

.mzkghj-left-title{
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.mzkghj-left-subtitle{
    font-size: 12px;
    opacity: 0.9;
}

.mzkghj-right{
    flex: 1;
    background: linear-gradient(135deg, #75d996 0%, #3CB371 100%);
    border-radius: 8px;
    padding: 15px;
    display: flex;
    align-items: center;
    color: white;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.mzkghj-right:hover{
    transform: translateY(-2px);
}

.mzzyzh{
    width: 100%;
    height: 20px;
    background-color: #fff;
    border: 1px solid #888;
    margin-top: 5px;
    display: flex;
    align-items: center;
    padding-left: 10px;
    box-sizing: border-box;
}

.mzzyzh-title{
    font-size: 14px;
    color: #333;
    font-weight: 500;
}
.mzzyzh-tabbar{
    width: 100%;
    height: 50px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
    box-sizing: border-box;
    border-bottom: 1px solid #f0f0f0;
}

.mzzyzh-tabbar-tabs{
    display: flex;
    align-items: center;
    gap: 20px;
}

.tab-item{
    padding: 8px 0;
    font-size: 14px;
    color: #999;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
}

.tab-item.active{
    color: #333;
}

.tab-item.active::after{
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #1890ff;
}

.mzzyzh-tabbar-more{
    display: flex;
    align-items: center;
}

.more-text{
    font-size: 14px;
    color: #999;
    cursor: pointer;
}

.mzzyzh-content{
    width: 100%;
    background-color: #fff;
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.outpatient-grid{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 10px 0;
}

.service-item{
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.service-item:hover{
    transform: scale(1.05);
}

.service-icon{
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #e6f7ff 0%, #bae7ff 100%);
    border-radius: 8px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-text{
    font-size: 12px;
    color: #333;
    text-align: center;
    line-height: 1.2;
}


// 公告区域样式
.gg{
    width: 100%;
    height: 40px;
    background-color: #fff;
    margin-top: 5px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.gg-content{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 15px;
    box-sizing: border-box;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.gg-title{
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-right: 10px;
    flex-shrink: 0;
}

.gg-divider{
    width: 1px;
    height: 20px;
    background-color: #d0d0d0;
    margin-right: 10px;
    flex-shrink: 0;
}

.gg-scroll-container{
    flex: 1;
    height: 20px;
    overflow: hidden;
    position: relative;
}

.gg-text-wrapper{
    display: flex;
    flex-direction: column;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.gg-text{
    height: 20px;
    line-height: 20px;
    font-size: 13px;
    color: #666;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 0;
}

.gg-arrow{
    font-size: 12px;
    color: #999;
    margin-left: 10px;
    flex-shrink: 0;
}
.jkcx{
    width: 100%;
    height: 300px;
    background-color: #fff;
    margin-top: 10px;
    margin-bottom: 10px;
}
.jkcx-title{
    display: flex;
}
.jkcx-title-text{
    font-size: 16px;
    margin-top: 10px;
    margin-left: 10px;
}
.jkcx-title-more{
    font-size: 14px;
    color: #999;
    cursor: pointer;
    margin-left: 260px;
    margin-top: 10px;
}
.jkcx-content{
    width: 100%;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.jkcx-card{
    width: 100%;
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-top: 25px;
}

.jkcx-card-content{
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.jkcx-card-text{
    flex: 1;
    min-width: 0;
}

.jkcx-card-text h3{
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin: 0 0 8px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.jkcx-card-meta{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
}

.jkcx-hashtag{
    font-size: 12px;
    color: #1890ff;
    background-color: #e6f7ff;
    padding: 2px 6px;
    border-radius: 4px;
}

.jkcx-stats{
    display: flex;
    gap: 12px;
    align-items: center;
}

.jkcx-likes, .jkcx-views{
    font-size: 12px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 4px;
}

.jkcx-card-thumbnail{
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.jkcx-placeholder{
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e6f7ff 0%, #bae7ff 100%);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1890ff;
    font-size: 12px;
}
.mzbg-top-left{
    width: 20px;
    height: 20px;
    margin-left: 15px;
    margin-top: 10px;
}
.mzbg-top-title{
    margin-left: 130px;
    font-size: 17px;
    margin-top: 10px;
}
.mzbg-bg{
    width: 100%;
    height: 700px;
    background-color: #fff;
}

// 智能客服按钮样式
.smart-customer-service {
    position: fixed;
    right: 20px;
    bottom: 100px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1890ff 0%, #096dd9 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(24, 144, 255, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}

.smart-customer-service:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(24, 144, 255, 0.4);
}

.smart-customer-service-text {
    color: white;
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    line-height: 1.2;
    user-select: none;
}